package edu.tongji.jiaowu.webapp.action;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

import edu.tongji.jiaowu.service.BasicDataManager;

public class PlanController extends MultiActionController {
	private BasicDataManager basicDataManager;
  
	public ModelAndView major(HttpServletRequest request, HttpServletResponse response) {
		Map model=basicDataManager.gradeMajorDirectionMap();
		
		return new ModelAndView("plan/major","model",model);
		
	}

	public BasicDataManager getBasicDataManager() {
		return basicDataManager;
	}

	public void setBasicDataManager(BasicDataManager basicDataManager) {
		this.basicDataManager = basicDataManager;
	}
}
